package com.atguigu.eduservice.service;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.entity.EduTeacher;
import com.atguigu.eduservice.entity.vo.TeacherQuery;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-02-24
 */
public interface EduTeacherService extends IService<EduTeacher> {

    /*查询8个老师集合*/
    List<EduTeacher> selectTeacher();

    R getTeacherCondition(long current, long limit, TeacherQuery teacherQuery);

//    发布新课程里面的查询所有讲师的接口
    R findAll();

    /*前台分页查询老师的信息*/
    R frontTeacherPage(long current, long limit);

    /*前台根据老师的id查询老师的详细信息+老师的主讲课程*/
    R selectTeacherById(long id);
}
